<!DOCTYPE html>
<?php $_SESSION['mid']=$_GET['mid'];?>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>双11狂欢节</title>
		<link rel="stylesheet" type="text/css" href="https://www.dainiwin.com/Bootstrap/css/style.css"/>
		<link rel="stylesheet" type="text/css" href="../../www/Public/Special/Css/pair11/pair11.css"/>
	</head>
	<body class="clearfix">
		<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/banner.png"/>
		<div class="djs_app_2">活动已结束</div>
		<div class="zong_width_new djs_app">
			<img width="100%" class="leftt djs_app_img" src="../../www/Public/Special/Img/pair11/djs_3.png" alt="" />
			<div class="djs_app_1">
				<ul class="countdown1">
			        <li> 
			        	<img class="leftt" height="36px" src="../../www/Public/Special/Img/pair11/djs_4.png" alt="" />
			        	<span class="days">00</span>
			        </li>
			        <li class="seperator">天</li>
			        <li> 
			        	<img class="leftt" height="36px" src="../../www/Public/Special/Img/pair11/djs_4.png" alt="" />
			        	<span class="hours">00</span>
			        </li>
			        <li class="seperator">时</li>
			        <li> 
			        	<img class="leftt" height="36px" src="../../www/Public/Special/Img/pair11/djs_4.png" alt="" />
			        	<span class="minutes">00</span>
			        </li>
			        <li class="seperator">分</li>
			        <li> 
			        	<img class="leftt" height="36px" src="../../www/Public/Special/Img/pair11/djs_4.png" alt="" />
			        	<span class="seconds">00</span>
			        </li>
			        <li class="seperator">秒</li>
			    </ul>
			</div>
		</div>
		<div class="pair_app_1">
			<div class="pair_app_1_1 clearfix">
				<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/01.png" alt="" />
				<div class="pair_app_1_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/02.png" alt="" />
					<img class="leftt pair_app_1_1_div_an pair_lj_1 pair_lj_1_1" width="100%" src="../../www/Public/Special/Img/pair11/04_2.png" alt="" />
				</div>
				<div class="pair_app_1_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/03.png" alt="" />
					<img class="leftt pair_app_1_1_div_an pair_lj_1 pair_lj_1_2" width="100%" src="../../www/Public/Special/Img/pair11/04_2.png" alt="" />
				</div>
			</div>
		</div>
		<div class="pair_app_2 clearfix">
			<div class="pair_app_2_1 clearfix">
				<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/05.png" alt="" />
				<div class="pair_app_2_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/06.png" alt="" />
					<img onclick="anzjio()" class="leftt pair_app_1_1_div_an is1" width="100%" src="../../www/Public/Special/Img/pair11/10.png" alt="" />
				</div>
				<div class="pair_app_2_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/07.png" alt="" />
					<img onclick="anzjio1()" class="leftt pair_app_1_1_div_an is2" width="100%" src="../../www/Public/Special/Img/pair11/11.png" alt="" />
				</div>
				<div class="pair_app_2_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/08.png" alt="" />
					<img onclick="anzjio2()" class="leftt pair_app_1_1_div_an is3" width="100%" src="../../www/Public/Special/Img/pair11/10.png" alt="" />
				</div>
				<div class="pair_app_2_1_div clearfix">
					<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/09.png" alt="" />
					<img onclick="anzjio3()" class="leftt pair_app_1_1_div_an is4" width="100%" src="../../www/Public/Special/Img/pair11/11.png" alt="" />
				</div>
			</div>
		</div>
		<div class="pair_app_3 clearfix">
			<div class="pair_app_3_1 clearfix">
				<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/12.png" alt="" />
				<div class="pair_app_3_1_div">
					<div class="clearfix"><span>1. </span><p>所有注册用户在活动期间（2016年11月11日），均可领取红包和加息券。</p></div>
					<div class="clearfix"><span>2. </span><p>用户可登陆网站或者ＡＰＰ，在“我的账户-我的优惠券”中查看奖励详情。</p></div>
					<div class="clearfix"><span>3. </span><p>活动期间，每人仅享有一次机会。加息券和现金红包不可叠加使用。</p></div>
					<div class="clearfix"><span>4. </span><p>现金红包不可直接提现，仅限于投资使用。投资相应理财计划到期后，可随本息一同提现。</p></div>
					<div class="clearfix"><span>5. </span><p>数量有限，领完为止。</p></div>
					<div class="clearfix"><span>6. </span><p>本活动最终解释权归贷你盈所有。</p></div>
				</div>
			</div>
		</div>
		<div class="tuank_2">
			<div class="tuank2_1">
				<img class="leftt" width="100%" src="../../www/Public/Special/Img/pair11/13.png" alt="" />
				<img onclick="hongb()" class="gb2 hongb" width="100%" src="../../www/Public/Special/Img/pair11/14.png" alt="" />
				<a class="gb3"></a>
			</div>
		</div>
		<div class="tuank_1_app">
			<div class="tuank1_1_app">
				<p id="tis_app"></p>
				<div class="gb1_app">关闭</div>
			</div>
		</div>
		<script src="../../www/Public/Bootstrap/js/jQuery v1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../www/Public/Special/Js/pair11/jquery.downCount.js"></script>
		<script class="source" type="text/javascript">
			var timeState = "<?php echo $timeState['expire'];?>";
			if( timeState == 1) {
				//过期
				$(".djs_app").hide();
				$(".djs_app_2").show();
			}else{
			    $('.countdown1').downCount({
			        date: '11/07/2016 00:00:00',  //活动开始时间
			        offset: +8
			    }, function () {
			        $(".djs_app").hide();
			        $(".pair_lj_1_1").attr("src","../../www/Public/Special/Img/pair11/04.png");
			        $(".pair_lj_1_2").attr("src","../../www/Public/Special/Img/pair11/04.png");
					$(".pair_lj_1_1").attr("onclick","getBonus()");
					$(".pair_lj_1_2").attr("onclick","getTickets()");
					bonus_state="<?php echo $state['has_bonus'];?>";
					ticket_state="<?php echo $state['has_ticket'];?>";
					if(bonus_state == 1) {
						$(".pair_lj_1_1").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
					}
					if(ticket_state == 1){
						$(".pair_lj_1_2").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
					}
			    });
			}
		</script>
		<script> 
			$(".gb3").click(function(){
				$("html").removeClass('ovss');
				$("body").removeClass('ovss');
				$(".tuank_2").hide();
			});

		</script>
	<script>
		function anzjio(){
			//var pid = $("#pid").val();
			//var pname =$("#pname").val();
			android.open_New_ProductDetailNewActivity('12','月富盈','new');

		}
		function anzjio1(){
			android.open_New_ProductDetailNewActivity('11','月月盈','new');
		}
		function anzjio2(){
			android.open_New_ProductDetailNewActivity('15','鼎富金','new');
		}
		function anzjio3(){
			android.open_New_ProductDetailNewActivity('13','季富盈','new');
		}
		
		function hongb(){
			android.open_MyCouppinActivity();
		}
	</script>
		<script>
			$(".is1").click(function(){
				var data = {
					'mark':'investment',
					'pid' :'12',
					'pname':'月富盈',
					'isNew':'1',
					'className':'ProDetail'
				};
				if(system=8){
					window.webkit.messageHandlers.AppModel.postMessage({body: data});
				}else if(system=7){
					function clickButton1(){
						window.WebViewJavascriptBridge.send(data);
					}
				}
			})
			$(".is2").click(function(){
				var data = {
					'mark':'investment',
					'pid' :'11',
					'pname':'月月盈',
					'isNew':'1',
					'className':'ProDetail'
				};
				if(system=8){
					window.webkit.messageHandlers.AppModel.postMessage({body: data});
				}else if(system=7){
					function clickButton1(){
						window.WebViewJavascriptBridge.send(data);
					}
				}
			})
			$(".is3").click(function(){
				var data = {
					'mark':'investment',
					'pid' :'15',
					'pname':'鼎富金',
					'isNew':'1',
					'className':'ProDetail'
				};
				if(system=8){
					window.webkit.messageHandlers.AppModel.postMessage({body: data});
				}else if(system=7){
					function clickButton1(){
						window.WebViewJavascriptBridge.send(data);
					}
				}
			})
			$(".is4").click(function(){
				var data = {
					'mark':'investment',
					'pid' :'13',
					'pname':'季富盈',
					'isNew':'1',
					'className':'ProDetail'
				};
				if(system=8){
					window.webkit.messageHandlers.AppModel.postMessage({body: data});
				}else if(system=7){
					function clickButton1(){
						window.WebViewJavascriptBridge.send(data);
					}
				}
			})
			
			$(".hongb").click(function(){
				var data = {
					'mark':'investment',
					'className':'ProRedBagVC'
				};
				if(system=8){
					window.webkit.messageHandlers.AppModel.postMessage({body: data});
				}else if(system=7){
					function clickButton1(){
						window.WebViewJavascriptBridge.send(data);
					}
				}
			})
			
		</script>
	<script>

		function getBonus(){
			$.post('/api/activities/bonusDouble11',
					{'mid':"<?php echo $_SESSION['mid'];?>"},
					function(res){
						//console.log(res)
						var cheng = 'success';
						var ylg = '已经领取过啦';
						if( res == cheng ){
							$("html").addClass('ovss');
							$("body").addClass('ovss');
							window.scrollTo(0,0);
							$(".tuank_2").show();
							$(".pair_lj_1_1").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
						}else if( res == ylg ){
							$(".pair_lj_1_1").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
						}else{
							$("html").addClass('ovss');
							$("body").addClass('ovss');
							window.scrollTo(0,0);
							$(".tuank_1_app").show();
							$("#tis_app").text(res);
						}
					},'json'
			);
		}
		function getTickets(){
			$.post('/api/activities/ticketDouble11',
					{'mid':"<?php echo $_SESSION['mid'];?>"},
					function(res){
						var cheng = 'success';
						var ylg = '已经领取过啦';
						if( res == cheng ){
							$("html").addClass('ovss');
							$("body").addClass('ovss');
							window.scrollTo(0,0);
							$(".tuank_2").show();
							$(".pair_lj_1_2").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
						}else if( res == ylg ){
							$(".pair_lj_1_2").attr("src","../../www/Public/Special/Img/pair11/04_1.png");
						}else{
							$("html").addClass('ovss');
							$("body").addClass('ovss');
							window.scrollTo(0,0);
							$(".tuank_1_app").show();
							$("#tis_app").text(res);
						}
					},'json'
			);
		}
		$(".gb1_app").click(function(){
			$(".tuank_1_app").hide();
			$("html").removeClass('ovss');
			$("body").removeClass('ovss');
			$("#tis_app").html();
		});
	</script>
	</body>
</html>





